home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
bbs
/
pcsuni1.zip
/
VRS502.ZIP
/
VRS-M11.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1997-04-06
|
8KB
|
283 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer TINTEGER004(12)
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
String STRING001
String STRING002
String STRING003
String STRING004
;------------------------------------------------------------------------------
Goto LABEL001
End
If (0 == 0) STRING001 = "NO"
If (0 == 1) STRING001 = "YES"
EndFunc
:LABEL001
STRING002 = String(PcbNode())
If (PcbNode() == 0) STRING002 = "A"
STRING004 = GetEnv(STRING002 + "RECNO")
STRING004 = ToInteger(STRING004)
TINTEGER004(1) = 0
TINTEGER004(2) = 3000
TINTEGER004(3) = 8000
TINTEGER004(4) = 12000
TINTEGER004(5) = 20000
TINTEGER004(6) = 30000
TINTEGER004(7) = 40000
TINTEGER004(8) = 50000
TINTEGER004(9) = 60000
TINTEGER004(10) = 75000
TINTEGER004(11) = 100000
TINTEGER004(12) = 200000
DOpen 0, PPEPath() + "USER.DBF", 0
DGo 0, STRING004
INTEGER001 = DRecNo(0)
DGet 0, "EXP", INTEGER002
DGet 0, "LEVEL", INTEGER003
If (DGet(0, "TRAINED") == "Y") Goto LABEL004
DPut 0, "TRAINED", "Y"
INTEGER005 = INTEGER002 - TINTEGER004(INTEGER003)
INTEGER006 = TINTEGER004(INTEGER003 + 1) - INTEGER005
Cls
PrintLn "@X0B Here at Xanadu Basic Training, we run an informal school that @X07"
PrintLn "@X0B follows the same standards as the Imperial Marines. We offer standard@X07"
PrintLn "@X0B training in sidearm, longarm, and unarmed combat, as well as having @X07"
PrintLn "@X0B full testing facilities for field promotion of rank. If an S&R ship @X07"
PrintLn "@X0B ever finds this god-forsaken hole, you stand a good chance of having @X07"
PrintLn "@X0B our rank made permanent. @X07"
PrintLn
PrintLn "@X0B Our instructors are the finest former squad, team, and strike @X07"
PrintLn "@X0B division leaders from the last few bug-hunt drops here on Xanadu that @X07"
PrintLn "@X0B were never retrieved. We had a scout, one of the finest hand-to-hand @X07"
PrintLn "@X0B fighters we've ever seen, but Felix was infected with the mutant virus@X07"
PrintLn "@X0B ... If you ever come across him, running is your best option ... @X07"
PrintLn ""
If (INTEGER006 > 0) PrintLn " You are currently level ", INTEGER003, " with ", INTEGER006, " points needed to advance"
If (INTEGER006 <= 0) Then
PrintLn "@X0E You are sufficiently experienced to test for the next level@X07"
PrintLn
Call PPEPath() + "VRS-M19.PPE"
Else
PrintLn
PrintLn " @X0E(@X07@X0AT@X0E)@X0Braining @X07 @X0E(@X07@X0CQ@X0E)@X0Buit @X07"
PrintLn
InputStr "@X0BYour Choice Soldier > @X0B_", STRING003, 10, 1, "TPQ", 0 + 8
Select Case (STRING003)
Case "T"
Goto LABEL002
Case "Q"
Goto LABEL005
Endif
End Select
Cls
PrintLn
PrintLn "@X0E We don't charge range fees here, as ammo cost is so dear. You'll @X0A"
PrintLn "@X0Ebe firing a laser pistol first, modified for low power. Just put five into @X0A"
PrintLn "@X0Ethe ten ring and you'll pass this stage of the testing.... @X0A"
PrintLn
Call PPEPath() + "VRS-M19.PPE"
Gosub LABEL003
PrintLn "@X0B NICE SHOOTING. @X0A"
Delay (1 * 182) / 10
Cls
PrintLn
PrintLn "@X0E Next is the same test, using a modified laser rifle. This is a bit @X0A"
PrintLn "@X0Emore difficult, for as you can see, we've removed the sights from the rifle. @X0A"
PrintLn "@X0EJust remember that there is no trajectory to this type of weapon and you'll @X0A"
PrintLn "@X0Edo fine. @X0A"
Delay (2 * 182) / 10
Gosub LABEL003
PrintLn
PrintLn "@X0B Nice shooting! @X0A"
Delay (2 * 182) / 10
Cls
PrintLn
PrintLn "@X0E Now comes the hard part. As I'm sure you've noticed, ammo tends to @X0A"
PrintLn "@X0Erun out just when you need it most. Since you'll be relying on your unarmed @X0A"
PrintLn "@X0Eskills a lot, we test those skills very stringently. @X0A"
PrintLn "@X0E Your test proctor is @X0AColonel Shujumi@X0E. In unarmored hand to hand @X0A"
PrintLn "@X0Epractice, he's even beaten Felix. You'll be judged on your skills in both @X0A"
PrintLn "@X0Eattack and defense - we don't expect you to win, just to show us your best @X0A"
PrintLn "@X0Eattempts. @X0A"
Delay (2 * 182) / 10
PrintLn
Print "@X0A Mai-ai! @X0A"
Delay (2 * 182) / 10
Print "@X0D Suki! @X0A"
Delay (2 * 182) / 10
PrintLn
PrintLn
PrintLn
Print "@X0E Kobo-ichi! @X0A"
Delay (2 * 182) / 10
Print "@X0E Kobo-ichi! @X0A"
Delay (2 * 182) / 10
Print "@X0E Kobo-ichi! @X0A"
Delay (2 * 182) / 10
Cls
PrintLn
PrintLn
PrintLn
PrintLn "@X0C ███████┐ ███████┐ ██████┐ ██┐ ███████┐ ██┐ ██┐ ████┐██████┐ ██┐ ██┐ @X07"
PrintLn "@X0C └───███│ ██┌──██│ ██┌─██│ ██│ ██┌────┘ ██│ ██│ └██┌┘██┌─██│ ██│ ██│ @X07"
PrintLn "@X0C ███┌─┘ ███████│ ██│ ██│ ██│ ███████┐ ███████│ ██│ ██│ ██│ ██│ ██│ @X07"
PrintLn "@X0C ███┌─┘ ██┌──██│ ██│ ██│ ██│ └────██│ ██┌──██│ ██│ ██│ ██│ ██│ └─┘ @X07"
PrintLn "@X0C ███████┐ ██│ ██│ ██│ ██████│ ███████│ ██│ ██│ ████┐██│ ██████│ ██┐ @X07"
PrintLn "@X0C └──────┘ └─┘ └─┘ └─┘ └─────┘ └──────┘ └─┘ └─┘ └───┘└─┘ └─────┘ └─┘ @X07"
PrintLn
PrintLn
PrintLn
Call PPEPath() + "VRS-M19.PPE"
INTEGER007 = Random(1)
Select Case (INTEGER007)
Case 0
PrintLn
PrintLn "@X0E Congratulations are in order. Colonel Shujumi has rated your skill @X07"
PrintLn "@X0Eas worthy of a field brevet. Those lumps should heal up in a day or so, but @X07"
PrintLn "@X0Edon't worry about them, Colonel Shujumi is very careful when it comes to @X07"
PrintLn "@X0Emaiming purposefully... @X07"
Delay (2 * 182) / 10
DPut 0, "LEVEL", INTEGER003 + 1
PrintLn "@X0B You need a LOT more skill in hand to hand combat before you are even @X07"
PrintLn "@X0Bclose to being brevetted. You're lucky you got off the mats without broken @X07"
PrintLn "@X0Bbones... @X07"
Goto LABEL005
:LABEL002
Cls
PrintLn
PrintLn "@X0E We specialize in hand to hand training, as that's what you'll need @X07"
PrintLn "@X0Emost to survive. Weapons training you can pick up in the TurboShaft, if @X07"
PrintLn "@X0Eyou're lucky enought to survive.... @X07"
PrintLn
Delay (2 * 182) / 10
PrintLn
PrintLn "@X0C FIGHT! @X07"
Delay (2 * 182) / 10
INTEGER007 = Random(1)
Case 0
PrintLn
PrintLn "@X0B You need more practice before gaining any experience. @X07"
PrintLn
Call PPEPath() + "VRS-M19.PPE"
PrintLn
PrintLn "@X0E Nice work. You've gained 100 experience points! @X07"
DPut 0, "EXP", INTEGER002 + 100
DPut 0, "TRAINED", "Y"
Call PPEPath() + "VRS-M19.PPE"
Goto LABEL005
:LABEL003
INTEGER007 = Random(4)
Case 0
Cls
PrintLn
PrintLn
PrintLn "@X0B You'd better get in some practice with that weapon, you don't seem @X07"
PrintLn "@X0Bto be very good with it. @X07"
Delay (2 * 182) / 10
Case Else
Return
:LABEL004
Cls
Newlines 5
PrintLn "@X0A You've been worn out by your previous training match today. Go have a"
PrintLn "@X0Acold relaxing drink, and grab a sleep chamber for a good night's sleep.@X0F"
Newlines 5
Call PPEPath() + "VRS-M19.PPE"
End Select
:LABEL005
DCloseAll
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 8 Cls
; 18 Goto
; 24 Let
; 5 Print
; 82 PrintLn
; 11 If
; 1 InputStr
; 2 Gosub
; 1 Return
; 13 Delay
; 2 Newlines
; 6 Call
; 1 EndFunc
; 1 DOpen
; 1 DCloseAll
; 1 DGo
; 2 DGet
; 4 DPut
;
;
; ■ Functions used :
;
; 13 *
; 13 /
; 12 +
; 2 -
; 9 ==
; 1 <=
; 1 >
; 6 !
; 3 Random()
; 1 String()
; 7 PPEPath()
; 2 PcbNode()
; 1 GetEnv()
; 1 ToInteger()
; 1 DRecNo()
; 1 DGet()
;
;------------------------------------------------------------------------------
;
; Analysis flags : C
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 1 If/Then or If/Then/Else
; 2 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------